package com.company.test;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class B {
    public void b(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println("BBBBBBBB");
        pjp.proceed();
        System.out.println("bbbbbbbb");
    }
}
